package com.hong.convert;


import com.hong.bean.Relationship;
import com.hong.dto.relationship.CreateRelationshipParam;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface RelationshipConvert {


    Relationship toEntity(CreateRelationshipParam param);

    List<Relationship> toEntity(List<CreateRelationshipParam> params);

}
